package com.example.commonmybatisplus.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/**
 * @author ifredom
 */
@Data
@TableName("t_product")
public class ProductEntity {
    private Long id;
    private String name;
    private Integer price;
    @Version
    private Integer version;
}
